![]() |
PATH![]() |
![]() ![]() |
pascal OSStatus SendRequest(UAMMessagePtr message);
The SendRequest callback routine sends a command to the server. The value of UAMMessage.commandCode must be kSendRequest .
For AFP connections, the size of cmdBuffer is limited to kMaxAFPCommand (576 bytes) and cmdBuffer must contain an AFP command.
For synchronous operation, set UAMMessage.completion and UAMMessage.contextPtr to nil. For asynchronous operation, set UAMMessage.completion to point to your completion routine and set UAMMessage.contextPtr to a value that identifies this request.
The value of UAMMessage.sessionRefNum is the session reference number returned by previously calling the AFP client's OpenSession callback routine.